/*
 * Window.h
 *
 *  Created on: 09/06/2014
 *      Author: lucio
 */

#ifndef WINDOW_H_
#define WINDOW_H_
#include <gtkmm.h>
#include <gtkmm/window.h>
#include "Board.h"
#include "BoardElements.h"
#include "BoardData.h"

enum TileType {
	Background,
	Box,
	MetalBox,
	PlayerSpawn,
	ZombieSpawn,
	Plant
};

class Window: public Gtk::Window {
protected:
	//Glade Elements
	Glib::RefPtr<Gtk::Builder> builder;

	Board* board;
	BoardElements* elements;
	BoardData* data;

	Gtk::Button* NewButton;
	Gtk::Button* OpenButton;
	Gtk::Button* SaveButton;
public:
	Window(BaseObjectType* object,
			const Glib::RefPtr<Gtk::Builder> &Builder);
	virtual ~Window();
private:
	//Eventos de FileButtonBox
	void NewButton_clicked();
	void OpenButton_clicked();
	void SaveButton_clicked();
};

#endif /* WINDOW_H_ */
